package transaction.lcn.order.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.springframework.stereotype.Repository;
import tk.mybatis.springboot.util.MyMapper;
import transaction.lcn.order.model.OrderTbl;

@Repository
public interface OrderTblMapper extends MyMapper<OrderTbl> {
//    @Insert("INSERT INTO `order_tbl` ( `user_id`, `commodity_code`, `count`, `money`) VALUES ( '1001', '2001', '1', '1');")
//    @Options(useGeneratedKeys = true, keyProperty = "id", keyColumn = "id")
//    int saveOrderRecord(OrderTbl orderTbl);
}